package com.gsafety.cloudframework.api.oauth;

import org.springframework.boot.builder.SpringApplicationBuilder;
import org.springframework.cloud.client.SpringCloudApplication;
import org.springframework.cloud.netflix.zuul.EnableZuulProxy;
import org.springframework.context.annotation.Bean;
import org.springframework.security.oauth2.provider.token.RemoteTokenServices;
import org.springframework.security.oauth2.provider.token.ResourceServerTokenServices;

@EnableZuulProxy
@SpringCloudApplication
public class ApiGatawayOauthApp {
	public static void main(String[] args) {
        new SpringApplicationBuilder(ApiGatawayOauthApp.class).web(true).run(args);
    }

}
